package com.uzhie.web.service.listener;

import org.apache.activemq.command.ActiveMQDestination;
import org.apache.log4j.Logger;
import org.springframework.jms.core.JmsTemplate;

/**
 * Created by TangFei on 2018/10/11.
 */
public interface MQSendService {

    Logger LOGGER = Logger.getLogger(MQSendService.class);

    void setMqDestination(ActiveMQDestination mqDestination);

    void setJmsTemplate(JmsTemplate jmsTemplate);

    void sendMessage(Integer queue, final String ID, final byte[] body);
}
